---
title: Forefront AI
---

> [Forefront AI](https://forefront.ai/) is a platform enabling you to
> fine-tune and inference open-source text generation models


## Installation and Setup

Get an `ForefrontAI` API key
visiting [this page](https://accounts.forefront.ai/sign-in?redirect_url=https%3A%2F%2Fforefront.ai%2Fapp%2Fapi-keys).
 and set it as an environment variable (`FOREFRONTAI_API_KEY`).

## LLM

See a [usage example](/oss/integrations/llms/forefrontai).

```python
from langchain_community.llms import ForefrontAI
```
